package mychat.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import mychat.vo.Message;

public interface MessageDao {
	//public Message findByName(String name) throws SQLException;
	public List<Message> findAll() throws SQLException;
	public boolean doInsert(Message message) throws SQLException;
	public boolean doDelete(Message message) throws SQLException;
	public Connection getConnection();

}
